Carbon


PaintOval

Header: Quickdraw.h Carbon status: Supported

Paints an oval with the graphics pen’s pattern and pattern mode.

void PaintOval (
    const Rect *r
);
Parameter descriptions
r

The rectangle that defines the oval’s boundary.

DISCUSSION

Using the pen pattern and pattern mode for the current graphics port, the PaintOval function draws the interior of an oval just inside the bounding rectangle that you specify in the r parameter. The pen location does not change.

Use FillOval to draw the interior of an oval with a pen pattern different from that for the current graphics port.

SPECIAL CONSIDERATIONS

The PaintOval function may move or purge memory blocks in the application heap; do not call this function at interrupt time.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)